package com.wkbb.common.dto.wx;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class CpMessageDto extends BaseMessageDto {

    @ApiModelProperty(value = "corpId")
    private String corpId;

    @ApiModelProperty(value = "小程序appid")
    private String appId;

    @ApiModelProperty(value = "接收用户列表(用于关联查询用户)")
    private List<Long> toUserList;

    @ApiModelProperty(value = "消息接收人ID列表‘|’分隔")
    private List<String> toUsers;

    @ApiModelProperty(value = "消息接收部门ID列表‘|’分隔")
    private List<String> departments;

    @ApiModelProperty(value = "消息类型")
    private String msgType;

    @ApiModelProperty(value = "消息标题")
    private String title;

    @ApiModelProperty(value = "消息描述")
    private String description;

    @ApiModelProperty(value = "URL")
    private String url;

    @ApiModelProperty(value = "是否放大第一个content_item")
    private Boolean emphasisFirstItem;

    @ApiModelProperty(value = "消息内容")
    private List<Map<String, String>> contentItems;

    @ApiModelProperty(value = "跳转路径")
    private String page;

    @ApiModelProperty(value = "企业应用的id")
    private Integer agentId;
}
